Content aggregation view layout based on weights

ABSTRACT

Techniques are disclosed for controlling where dynamically-added content will be positioned within the layout of a content aggregation view (e.g., for controlling where content that is created by a portlet will be rendered within a portal page). In preferred embodiments, weighting values are assigned to the content, and these values are used to determine the content&#39;s relative placement. The values may be assigned at development time, at deployment time, and/or at run time. Using disclosed techniques, content placement is more predictable and consistent, and related content can be grouped together when rendered even though that content is not simultaneously rendered.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to computer software, and deals more particularly with techniques for controlling where dynamically-added content will be positioned within the layout of a content aggregation view (e.g., for controlling where content that is created by a portlet will be rendered within a portal page).

2. Description of the Related Art

Web portals (sometimes referred to equivalently as portal platforms, portal systems, or portal servers) are designed to serve as a gateway, or focal point, for access to an aggregation or collection of information, applications, and/or network-available services from many different sources. Portals often provide an end user view, which is commonly referred to as a “portal page”. A portal page is often structured as a single overview-style page which may provide links for the user to navigate to more detailed information. Alternatively, portal pages may be designed using a notebook paradigm whereby multiple pages are available to the user upon selecting a tab for that page.

Other frameworks which aggregate content and/or services may have characteristics analogous to those of a portal platform. Accordingly, the terms “portal” and “content aggregation framework” are used interchangeably herein. Furthermore, the terms “portlet” and “content-creating component” are used interchangeably herein to refer to the components that create the content to be rendered.

While developments for portals and content aggregation frameworks have made great progress in recent years, areas remain where improvements can be made.

SUMMARY OF THE INVENTION

An object of the present invention is to provide improvements for portals and/or other content aggregation frameworks.

Another object of the present invention is to provide techniques for controlling where dynamically-added content will be positioned within the layout of a content aggregation view.

A further object of the present invention is to define techniques for controlling where content that is created by a portlet will be rendered within a portal page.

Yet another object of the present invention is to define techniques that enable content rendered in a portal page to be positioned in a consistent manner.

Still another object of the present invention is to define techniques that enable content created by one portlet to be positioned relatively near related content that is created by another portlet.

Other objects and advantages of the present invention will be set forth in part in the description and in the drawings which follow and, in part, will be obvious from the description or may be learned by practice of the invention.

To achieve the foregoing objects, and in accordance with the purpose of the invention as broadly described herein, the present invention may be provided as methods, systems, and computer program products. In one aspect of preferred embodiments, the present invention provides techniques for positioning content within a content view rendered by a content aggregation framework that preferably comprise: associating one or more content-placement values with content rendered by, or renderable by, each of a plurality of content-creating components; and when positioning the content rendered by one or more of the content-creating components, using the associated content-placement value or values of that content to determine where the content should be positioned within a content view.

In another aspect, the present invention provides techniques for positioning portlets within a portal page, preferably comprising: assigning one or more content-placement values to content rendered by, or renderable by, each of a plurality of portlets; and when positioning the content rendered by one or more of the portlets, using the assigned value or values of that content to determine where the content should be positioned within a portal page.

The present invention will now be described with reference to the following drawings, in which like reference numbers denote the same element throughout.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an empty portal page and several sample portlets that are configured for rendering their content in that page; and

FIGS. 2-4 show how each portlet's weighting values are used to determine that portlet's relative placement on the portal page.

DESCRIPTION OF PREFERRED EMBODIMENTS

The present invention discloses techniques that improve user interactions with content aggregation frameworks. In particular, techniques are disclosed herein for controlling where dynamically-added content, such as content created by portlets, will be positioned within the layout of a content aggregation view such as a portal page. Preferred embodiments assign content-placement values to portlets, and these values are programmatically inspected when a portlet is added to a page; these content-placement values then determine the relative placement among the various portlets, as will be described in more detail below.

Drawbacks of prior art content placement techniques will now be described.

When a portal page is structured as an overview-style page, prior art content placement techniques often add portlet content arbitrarily to the end of an existing page. This can create scrolling problems for the portal user. For example, suppose the user is viewing content rendered near the top of the portal page at a time when portlet content is added to the bottom of the page. Responsive to addition of the new content, focus within the portal page is typically given to the new content. If the entire portal page can no longer fit within the viewable area of the display, the content that was being viewed will be scrolled off the top of the page to enable viewing the content having the current focus. This prior art approach is very undesirable behavior, as it may be quite confusing and/or irritating for users.

Furthermore, this prior art approach to content placement can result in related portlet content being visually separated, which may hinder a user's ability to fully perceive that content.

In addition, when users select a collection of portlets to comprise a portal page using prior art techniques, they must explicitly define the page layout. This is often tedious manual work and leads to inconsistency between different users' views of the same underlying portal page content. Portal pages that have an inconsistent portlet layout are difficult to share between multiple users. They are also more costly for content development organizations to debug and support.

Preferred embodiments address these and other limitations through use of values that are used in portlet placement decisions. A portlet developer preferably assigns two content-placement values, which are referred to equivalently herein as weights or weighting values, to a portlet at design time. In addition or instead, embodiments of the present invention may enable assigning (or re-assigning) these values at deployment time, for example by a systems administrator, and/or at run time. Run-time weight assignments include assignments made by (or re-assigned by) end users as well as programmatic value assignments (e.g., whereby an already-displayed, currently-executing portlet may influence its own weights for a subsequent rendering of the page).

The weighting values assigned to a portlet may be associated therewith in a number of ways. Examples include, by way of illustration: (1) specifying the values as attributes of the portlet's content when rendering that content in a markup language; and (2) recording the values in a data store of some type, in association with an identifier of the portlet.

Preferred embodiments are described herein with reference to weighting values that range between zero and one, although other value ranges may be substituted without deviating from the scope of the present invention, and use a pair of weighting values that corresponds to a vertical weight and a horizontal weight. As portlets are dynamically added to a portal page, their position is influenced by this pair of values.

In preferred embodiments, a locale-specific decision is made as to how the weighting values influence the layout. Assuming a US-English locale, for example, a portlet with a high vertical weighting value is preferably positioned closer to the upper region, or top, of the portal page and a portlet with a high horizontal weighting value is preferably positioned closer to the left of the portal page. In another locale, a placement algorithm may enforce other preferences. In alternative embodiments, administrators or configuration parameters may assign values in a manner that achieves a desired locale-specific result even though a single, locale-independent algorithm is employed. By way of illustration but not of limitation, subsequent discussions are in terms of a US-English locale.

Preferably, portlets having an identical vertical weight are positioned in the same row and their horizontal weights determine their order from left to right. Using this approach, portlets with higher priorities (such as one showing important information) can be automatically positioned near the top of the page. Portlets that are logically related can be automatically grouped as they are added to the portal page (e.g., by assigning the same vertical weight to each of the related portlets).

FIGS. 1-4 illustrate a sample portal page into which portlet content is positioned using techniques disclosed herein. FIG. 1 shows an empty portal page 100 and three sample portlets 110, 120, 130 that are configured for this portal page 100 but which have not yet been added thereto. Sample vertical and horizontal weighting values for each sample portlet are shown in columns 140, 150. Suppose portlet 110 is the first portlet added to portal page 100 at run time. As shown in FIG. 2, portlet 110 is preferably positioned (by default) near the top left corner of the page.

Further suppose that portlet 120 is the next portlet added to portal page 100. The weighting values of portlets 110, 120 are therefore compared to determine where portlet 120 should be placed relative to portlet 110. Preferred embodiments favor a higher vertical weighting value over a higher horizontal weighting value. Therefore, as illustrated in FIG. 3, portlet 120 will be positioned closer to the top left corner of the page than portlet 110 because the vertical weight associated with portlet 120 is higher than the vertical weight of portlet 110 (where the vertical weights are 0.9 and 0.5 for portlets 120 and 110, in this example).

When the final portlet 130 is added to the portal page, as shown in FIG. 4, preferred embodiments position this portlet lower on the page than portlet 120, since portlet 130 has a lower vertical weight than portlet 120, and further to the right than portlet 110, since portlet 130 has a lower horizontal weight than portlet 110. And, since the vertical weights are identical between portlets 110 and 130, these portlets are shown as being rendered in the same row.

In preferred embodiments, each time the portal server renders a portal page, it re-checks the portlet weights and makes any necessary adjustments to the layout. Portlets may therefore change location over time. In one aspect of preferred embodiments, an executing portlet may programmatically reposition itself based on run-time occurrences. For example, if a portlet detects an important state change, it may set its vertical weight to a higher value so that it will be positioned nearer the top of the page when the page is next rendered by the portal server. Similarly, a portlet might set its vertical weight to a lower value, and/or change its horizontal weight value, in application-specific circumstances.

While preferred embodiments place portlets having an identical vertical weight in the same row, alternative embodiments may fill a row from left-to-right based on successively-lower vertical weights, even though those weights are not identical, without deviating from the scope of the present invention.

Using the teachings herein, it will be obvious to one of ordinary skill in the art how content placement algorithms can be written to compare the location of a portal page's already-placed portlets with the weights of a portlet that is to be positioned (or re-positioned) within that portal page.

Alternative embodiments may use a different number of values to determine a portlet's relative placement within a page. For example, a single “importance” value might be associated with portlets, where each of these importance values has a relative ranking that is used to determine vertical placement. In this approach, the content of highest importance is preferably rendered closer to the top of the page than content of lesser importance, similar to the examples which have been discussed. Or, several different placement values might be used in combination to determine a portlet's relative weights as compared to other portlets. As another alternative, preference might be given to keeping content nearer the left-hand side of the viewable area (e.g., so that the user is more likely to notice that content when scanning the page).

As has been demonstrated, the present invention provides advantageous techniques that enable controlling where portlets will be positioned within the layout of a portal page. Benefits of this approach include more predictable and consistent content layouts, and an ability to group related portlets physically near one another when rendered (even though the portlets are not necessarily rendered near, in terms of time, to one another).

As will be appreciated by one of skill in the art, embodiments of the present invention may be provided as methods, systems, or computer program products comprising computer-readable program code. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. The computer program products maybe embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-readable program code embodied therein.

When implemented by computer-readable program code, the instructions contained therein may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing preferred embodiments.

These computer-readable program code instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement preferred embodiments.

The computer-readable program code instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented method such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing preferred embodiments.

While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims shall be construed to include preferred embodiments and all such variations and modifications as fall within the spirit and scope of the invention. 

1. A method of positioning portlets within a portal page, comprising steps of: assigning one or more content-placement values to content rendered by, or renderable by, each of a plurality of portlets; and when positioning the content rendered by one or more of the portlets, using the assigned value or values of that content to determine where the content should be positioned within a portal page.
 2. The method according to claim 1, when the content-placement values comprise a horizontal placement value and a vertical placement value associated with each of the portlets.
 3. The method according to claim 2, wherein the using step places rendered content having a higher vertical placement value nearer an upper region of the portal page than rendered content having a lower vertical placement value.
 4. The method according to claim 2, wherein the using step places rendered content having a higher horizontal placement value nearer a left side of the portal page than rendered content having a lower horizontal placement value.
 5. The method according to claim 1, further comprising the step of re-assigning the content-placement value or values assigned to a particular one of the portlets, and wherein the using step uses the re-assigned value or values for this particular portlet.
 6. The method according to claim 1, wherein the assigned content placement value or values is/are assigned at development time of one or more of the portlets.
 7. The method according to claim 1, wherein the assigned content placement value or values is/are assigned at deployment time for one or more of the portlets.
 8. The method according to claim 1, wherein the assigned content placement value or values is/are assigned at run time for one or more of the portlets.
 9. The method according to claim 8, wherein the run-time assignment is made by a user.
 10. The method according to claim 8, wherein the run-time assignment is made by portlet execution.
 11. The method according to claim 1, wherein the using step determines the positioning in a locale-specific manner.
 12. The method according to claim 1, wherein the value or values is/are assigned in a locale-specific manner.
 13. The method according to claim 1, wherein the value or values for each portlet is/are specified as an attribute value or values in markup language rendered by that portlet.
 14. The method according to claim 1, wherein the value or values for each portlet is/are associated with an identifier of the portlet in a data store.
 15. A method of positioning content within a content view rendered by a content aggregation framework, comprising steps of: associating one or more content-placement values with content rendered by, or renderable by, each of a plurality of content-creating components; and when positioning the content rendered by one or more of the content-creating components, using the associated content-placement value or values of that content to determine where the content should be positioned within a content view.
 16. A system for positioning content within a content view rendered by a content aggregation framework, comprising: means for associating one or more content-placement values with content rendered by, or renderable by, each of a plurality of content-creating components; and when positioning the content rendered by one or more of the content-creating components, means for using the associated content-placement value or values of that content to determine where the content should be positioned within a content view.
 17. A computer program product for positioning content within a content view rendered by a content aggregation framework, the computer program product embodied on one or more computer-readable media and comprising: computer-readable program code means for associating one or more content-placement values with content rendered by, or renderable by, each of a plurality of content-creating components; and when positioning the content rendered by one or more of the content-creating components, computer-readable program code means for using the associated content-placement value or values of that content to determine where the content should be positioned within a content view. 